package com.fanxuankai.boot.plumelog.autoconfigure;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

/**
 * @author fanxuankai
 */
@EnableConfigurationProperties({PlumeLogProperties.class})
@ConditionalOnProperty(name = PlumeLogProperties.ENABLED, matchIfMissing = true)
@Import({StartAutoConfiguration.class, TraceAutoConfiguration.class})
@ComponentScan(basePackages = {"com.plumelog"})
public class PlumeLogAutoConfiguration {
}
